package com.wzdigit.wms.ws.service.gdn;
/*
 * @Author:yangwenbiao
 * @Date 2021/5/15 1:02 PM
 * @version 1.0
 */

import com.wzdigit.wms.ws.client.GdnHeaderReq;
import com.wzdigit.wms.ws.domain.GdnHeader;

import javax.jws.WebMethod;
import javax.jws.WebParam;
import javax.jws.WebService;

@WebService(name = "GdnService", targetNamespace = "http://gdn.service.ws.wms.wzdigit.com")
public interface GdnService {
    /**
     * 根据GdnNo获取发货单
     * @param gdnNo
     * @return
     */
    @WebMethod
    GdnHeader getGdnHeaderByGdnNo(@WebParam(name = "gdnNo") String gdnNo);

    @WebMethod
    GdnHeader getGdnHeaderByObj(@WebParam(name = "gdnHeaderReq") GdnHeaderReq gdnHeaderReq);

    @WebMethod
    GdnHeader getGdnHeaderByGdnNoAndFactory(@WebParam(name = "gdnNo") String gdnNo,@WebParam(name = "factory") String factory);
}
